package com.coscoshipping.rams.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaoyin.yang
 * @since 2025-01-15
 */
@Getter
@Setter
@TableName("revenue_analysis")
@Schema(name = "RevenueAnalysis", description = "")
public class RevenueAnalysis implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "预控码")
    @TableField("blockcode")
    private String blockcode;

    @Schema(description = "账号")
    @TableField("accnt")
    private String accnt;

    @Schema(description = "团队编码")
    @TableField("groupno")
    private String groupno;

    @Schema(description = "团队名称")
    @TableField("name")
    private String name;

    @Schema(description = "开始日期")
    @TableField("arr")
    private LocalDateTime arr;

    @Schema(description = "结束日期")
    @TableField("dep")
    private LocalDateTime dep;

    @TableField("gstno")
    private Integer gstno;

    @Schema(description = "人数")
    @TableField("du")
    private Integer du;

    @Schema(description = "房晚")
    @TableField("days")
    private Integer days;

    @Schema(description = "房费")
    @TableField("rm")
    private Long rm;

    @Schema(description = "餐费")
    @TableField("xffb")
    private BigDecimal xffb;

    @Schema(description = "会议费")
    @TableField("xfmt")
    private BigDecimal xfmt;

    @Schema(description = "客房其他")
    @TableField("xfrm")
    private BigDecimal xfrm;

    @Schema(description = "其他")
    @TableField("xfot")
    private BigDecimal xfot;

    @Schema(description = "总消费")
    @TableField("xftl")
    private BigDecimal xftl;

    public static final String ID = "id";

    public static final String BLOCKCODE = "blockcode";

    public static final String ACCNT = "accnt";

    public static final String GROUPNO = "groupno";

    public static final String NAME = "name";

    public static final String ARR = "arr";

    public static final String DEP = "dep";

    public static final String GSTNO = "gstno";

    public static final String DU = "du";

    public static final String DAYS = "days";

    public static final String RM = "rm";

    public static final String XFFB = "xffb";

    public static final String XFMT = "xfmt";

    public static final String XFRM = "xfrm";

    public static final String XFOT = "xfot";

    public static final String XFTL = "xftl";
}
